#ifndef CUSTOMTOOLBUTTON_H
#define CUSTOMTOOLBUTTON_H

#include <QtWidgets>

class CustomToolButton : public QToolButton
{
    Q_OBJECT
public:
    explicit CustomToolButton(QWidget *parent = nullptr);
    void addAction(QAction *Action);

    QString ToolTip;

private:
    QMenu * Menu;
    bool defaultmode;

signals:

public slots:
    void ChangeDefaultAction(QAction *action);
};

#endif // CUSTOMTOOLBUTTON_H
